package com.central.scheduler.dao.entity;

import com.central.common.enums.TaskType;
import com.central.scheduler.common.enums.Flag;
import com.central.scheduler.common.enums.Priority;
import com.central.scheduler.common.task.TaskTimeoutParameter;
import com.central.scheduler.common.task.conditions.ConditionsParameters;
import com.central.scheduler.common.task.dependent.DependentParameters;
import com.central.scheduler.common.task.subprocess.SubProcessParameters;
import com.central.scheduler.common.task.switchtask.SwitchParameters;
import lombok.Getter;
import lombok.Setter;

/**
 * @author Tindy
 * @date 2021/12/8
 * @describe
 */
@Setter
@Getter
public class TaskNodeParam {
    private String name;
    private TaskType taskType;
    private Long taskDefinitionId;
    private Flag flag=Flag.YES;
    private Priority taskPriority=Priority.MEDIUM;
    private int delayTime=0;
    private TaskTimeoutParameter taskTimeoutParameter;
    private DependentParameters dependentParameters;
    private SubProcessParameters subProcessParameters;
    private ConditionsParameters conditionsParameters;
    private SwitchParameters switchParameters;
    private int x=100;
    private int y=100;
}
